From 4faec7c2c180569a06a5023fc1bcb77812705672 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 23 Jul 2023 22:03:21 +0100 Subject: Support int-ne in Patio code gen --- ....compiler.testing.snapshots.Snapshotter)].expected | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..45699e36 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,19 @@ +Compilation unit elements: + + +Locals: + * ("tmp__0" int) + * ("tmp__1" int) + +Args: + +Instructions: + +( + (int-ne (local "tmp__1") (local "b") (local "c")) + (bool-to-int (local "tmp__0") (local "tmp__1")) +) + +Temporary stack: + * tmp__0 + * a -- cgit v1.2.3